home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / mach-o / sparc / reloc.h
C/C++ Source or Header  |  1994-06-17  |  782b  |  28 lines

  1. /*    reloc.h   -  assemble for Sparc    */
  2. /*    Defines machine specific relocation entries */
  3.  
  4. #ifndef SPARC_RELOC_INCLUDED
  5. #define SPARC_RELOC_INCLUDED
  6.  
  7. /*
  8.  * TBD
  9.  */
  10. enum reloc_type_sparc
  11. {
  12.     SPARC_RELOC_VANILLA,    /* vanilla relocation */
  13.     SPARC_RELOC_PAIR,    /* the second relocation entry of a pair */
  14.     SPARC_RELOC_HI22,    /* 22 high bits (sethi) (has pair) */
  15.     SPARC_RELOC_LO10,    /* 10 low bits (has pair) */
  16.     SPARC_RELOC_WDISP22,    /* 22 bit PC relative displacement */
  17.     SPARC_RELOC_WDISP30,    /* 30 bit PC relative displacement */
  18.     SPARC_RELOC_SECTDIFF,    /* a PAIR follows with subtract symbol value */
  19.     SPARC_RELOC_HI22_SECTDIFF,
  20.     SPARC_RELOC_LO10_SECTDIFF,
  21.     SPARC_RELOC_NONE,
  22.     SPARC_RELOC_UNUSED
  23. };
  24.  
  25. /* For compatibility with Sparc GAS code */
  26.  
  27. #endif    /* SPARC_RELOC_INCLUDED */
  28.